﻿Imports SIGI.Common.BE
Imports SIGI.BackEnd.BC

Public Class UserSVC

#Region "<< -SearchByUserName- >>"
    Public Shared Function SearchByUserName(pUserName As String) As UserBE
        Return UserBC.SearchByUserName(pUserName)
    End Function
#End Region

#Region "<< -BlockUser- >>"
    Public Shared Sub BlockUser(pUserName As String, pBlock As Boolean)
        UserBC.BlockUser(pUserName, pBlock)
    End Sub
#End Region

#Region "<< -SearchByParams- >>"
    Public Shared Function SearchByParams(pUser As UserBE, pNotActiveUsers As Boolean) As List(Of UserBE)
        Return UserBC.SearchByParams(pUser, pNotActiveUsers)
    End Function
#End Region

#Region "<< -Search- >>"
    Public Shared Function Search(pNotActiveUsers As Boolean) As List(Of UserBE)
        Return UserBC.Search(pNotActiveUsers)
    End Function
#End Region

#Region "<< -Insert- >>"
    Public Shared Sub Insert(pUser As UserBE)
        UserBC.Insert(pUser)
    End Sub
#End Region

#Region "<< -Update- >>"
    Public Shared Sub Update(pUser As UserBE)
        UserBC.Update(pUser)
    End Sub
#End Region

    '#Region "<< -DeleteBatch- >>"
    '    Public Shared Sub DeleteBatch(pUserNameList As List(Of String))
    '        UserBC.DeleteBatch(pUserNameList)
    '    End Sub
    '#End Region

End Class
